package com.xyy.kingdeek3cloud.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class BdUnitEntity {

    @JsonProperty("msterID")
    private Integer msterID;
    @JsonProperty("MultiLanguageText")
    private List<MultiLanguageTextDTO> multiLanguageText;

    @NoArgsConstructor
    @Data
    public static class MultiLanguageTextDTO {
        @JsonProperty("PkId")
        private Integer pkId;
        @JsonProperty("LocaleId")
        private Integer localeId;
        @JsonProperty("Description")
        private String description;
        @JsonProperty("Name")
        private String name;
    }
}
